package com.mall.bean.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName("tz_order")
public class Order {
    private Long orderId;
    private Long userId;
    private Date createTime;
    @TableField(exist = false)
    private List<Product> products;
    private Double totalPrice;
    /*
    *  1微信  2支付宝
    * */
    private Integer payType;
    /**
     * 订单备注
     */
    private String remarks;

    /**
     * 订单状态 -1 已取消 0:待付款 1:待发货 2:待收货 3:已完成
     */
    private Integer status;
}
